/**
 * Copyright  (c) 2009-2010 Wilmar IT Service,  Inc.   
 * All  rights  reserved. 
 */
package com.wilmar.process.entity;

import java.io.Serializable;

/**
 * 任务实例属性,包含任务的名称,描述,以及参与人
 * 
 * @author MaKuBEX Email:makubexnet@gmail.com
 * @version 1.0.0 Apr 16, 2010
 * @since 1.0.0
 * 
 */
public class TaskInstanceProperties implements Serializable {

	/**
	 * @serialField
	 */
	private static final long serialVersionUID = -5795299159086785049L;

	private String taskName;
	private String taskDescription;
	private Integer taskPriority;
	private ProcessParticipant participant;

	/**
	 * 完整构造函数
	 * 
	 * @param taskName
	 *            任务名称
	 * @param taskDescription
	 *            任务描述
	 * @param taskPriority
	 *            任务紧急度
	 * @param participant
	 *            任务参与人
	 */
	public TaskInstanceProperties(String taskName, String taskDescription,
			Integer taskPriority, ProcessParticipant participant) {
		super();
		this.taskName = taskName;
		this.taskDescription = taskDescription;
		this.participant = participant;
		this.taskPriority = taskPriority;
	}

	/**
	 * @return the taskDescription
	 */
	public String getTaskDescription() {
		return taskDescription;
	}

	/**
	 * @param taskDescription
	 *            the taskDescription to set
	 */
	public void setTaskDescription(String taskDescription) {
		this.taskDescription = taskDescription;
	}

	/**
	 * @return the participant
	 */
	public ProcessParticipant getParticipant() {
		return participant;
	}

	/**
	 * @param participant
	 *            the participant to set
	 */
	public void setParticipant(ProcessParticipant participant) {
		this.participant = participant;
	}

	/**
	 * 默认构造函数
	 */
	public TaskInstanceProperties() {
		super();
	}

	/**
	 * @return the taskName
	 */
	public String getTaskName() {
		return taskName;
	}

	/**
	 * @param taskName
	 *            the taskName to set
	 */
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	/**
	 * @return the taskPriority
	 */
	public Integer getTaskPriority() {
		return taskPriority;
	}

	/**
	 * @param taskPriority
	 *            the taskPriority to set
	 */
	public void setTaskPriority(Integer taskPriority) {
		this.taskPriority = taskPriority;
	}

}
